package com.zidongxiangxi.lock.starter;

import com.zidongxiangxi.lock.starter.constant.DistributedLockConstants;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author chenxudong
 * @version 1.0
 * @date 2020/1/19 17:06
 */
@Getter
@Setter
@ConfigurationProperties(prefix = DistributedLockConstants.BASE_CONFIG)
public class DistributionLockConfigProperties {
    /**
     * 应用名
     */
    private String application;

    /**
     * 锁类型
     */
    private String type = DistributedLockConstants.REDIS_DISTRIBUTED_LOCK_TYPE;
}
